// 配送区域
const {DataTypes, db } = require("../db");
db.define('psCargoInfo', {
id: {type: DataTypes.INTEGER, primaryKey: true, autoIncrement: true,comment:'表自增ID'},
tenantId:{type: DataTypes.INTEGER,allowNull:false,comment:'租户ID'}, 
billNo:{type: DataTypes.STRING(20),comment:'票号'},
billDate:{type: DataTypes.STRING(20),comment:'票据日期'},
buName:{type: DataTypes.STRING,comment:'客户名称'},
address:{type: DataTypes.STRING,comment:'地址'},
infos:{type: DataTypes.STRING,comment:'原数据'},
iid:{type: DataTypes.INTEGER,comment:'主票据ID'},
}, {
    tableName: 'ps_cargo_info',
    timestamps: false,
    comment: '配送单据明细',
});